Optimal. Leaf size=309 \[ -\frac{4 \sqrt{\frac{2}{3 \left (5+\sqrt{13}\right )}} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) \text{EllipticF}\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right ),\frac{1}{6} \left (5 \sqrt{13}-13\right )\right )}{39 \sqrt{x^4+5 x^2+3}}+\frac{19 x \left (2 x^2+\sqrt{13}+5\right )}{234 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{x^4+5 x^2+3}}{117 x}-\frac{8 x^2+7}{39 x \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{234 \sqrt{x^4+5 x^2+3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.163558, antiderivative size = 309, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {1277, 1281, 1189, 1099, 1135} \[ \frac{19 x \left (2 x^2+\sqrt{13}+5\right )}{234 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{x^4+5 x^2+3}}{117 x}-\frac{8 x^2+7}{39 x \sqrt{x^4+5 x^2+3}}-\frac{4 \sqrt{\frac{2}{3 \left (5+\sqrt{13}\right )}} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{39 \sqrt{x^4+5 x^2+3}}-\frac{19 \sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{234 \sqrt{x^4+5 x^2+3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1277
Rule 1281
Rule 1189
Rule 1099
Rule 1135
Rubi steps
\begin{align*} \int \frac{2+3 x^2}{x^2 \left (3+5 x^2+x^4\right )^{3/2}} \, dx &=-\frac{7+8 x^2}{39 x \sqrt{3+5 x^2+x^4}}-\frac{1}{39} \int \frac{-19+8 x^2}{x^2 \sqrt{3+5 x^2+x^4}} \, dx\\ &=-\frac{7+8 x^2}{39 x \sqrt{3+5 x^2+x^4}}-\frac{19 \sqrt{3+5 x^2+x^4}}{117 x}+\frac{1}{117} \int \frac{-24+19 x^2}{\sqrt{3+5 x^2+x^4}} \, dx\\ &=-\frac{7+8 x^2}{39 x \sqrt{3+5 x^2+x^4}}-\frac{19 \sqrt{3+5 x^2+x^4}}{117 x}+\frac{19}{117} \int \frac{x^2}{\sqrt{3+5 x^2+x^4}} \, dx-\frac{8}{39} \int \frac{1}{\sqrt{3+5 x^2+x^4}} \, dx\\ &=\frac{19 x \left (5+\sqrt{13}+2 x^2\right )}{234 \sqrt{3+5 x^2+x^4}}-\frac{7+8 x^2}{39 x \sqrt{3+5 x^2+x^4}}-\frac{19 \sqrt{3+5 x^2+x^4}}{117 x}-\frac{19 \sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} \sqrt{\frac{6+\left (5-\sqrt{13}\right ) x^2}{6+\left (5+\sqrt{13}\right ) x^2}} \left (6+\left (5+\sqrt{13}\right ) x^2\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{234 \sqrt{3+5 x^2+x^4}}-\frac{4 \sqrt{\frac{2}{3 \left (5+\sqrt{13}\right )}} \sqrt{\frac{6+\left (5-\sqrt{13}\right ) x^2}{6+\left (5+\sqrt{13}\right ) x^2}} \left (6+\left (5+\sqrt{13}\right ) x^2\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{39 \sqrt{3+5 x^2+x^4}}\\ \end{align*}
Mathematica [C] time = 0.315317, size = 228, normalized size = 0.74 \[ \frac{-i \sqrt{2} \left (19 \sqrt{13}-143\right ) x \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right ),\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )-4 \left (19 x^4+119 x^2+78\right )+19 i \sqrt{2} \left (\sqrt{13}-5\right ) x \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} E\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right )|\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )}{468 x \sqrt{x^4+5 x^2+3}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.02, size = 257, normalized size = 0.8 \begin{align*} -6\,{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}} \left ( -{\frac{19\,x}{78}}-{\frac{5\,{x}^{3}}{78}} \right ) }-{\frac{16}{13\,\sqrt{-30+6\,\sqrt{13}}}\sqrt{1- \left ( -{\frac{5}{6}}+{\frac{\sqrt{13}}{6}} \right ){x}^{2}}\sqrt{1- \left ( -{\frac{5}{6}}-{\frac{\sqrt{13}}{6}} \right ){x}^{2}}{\it EllipticF} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ){\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}-{\frac{76}{13\,\sqrt{-30+6\,\sqrt{13}} \left ( \sqrt{13}+5 \right ) }\sqrt{1- \left ( -{\frac{5}{6}}+{\frac{\sqrt{13}}{6}} \right ){x}^{2}}\sqrt{1- \left ( -{\frac{5}{6}}-{\frac{\sqrt{13}}{6}} \right ){x}^{2}} \left ({\it EllipticF} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ) -{\it EllipticE} \left ({\frac{x\sqrt{-30+6\,\sqrt{13}}}{6}},{\frac{5\,\sqrt{3}}{6}}+{\frac{\sqrt{39}}{6}} \right ) \right ){\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}-{\frac{2}{9\,x}\sqrt{{x}^{4}+5\,{x}^{2}+3}}-4\,{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}} \left ({\frac{19\,{x}^{3}}{234}}+{\frac{40\,x}{117}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 \, x^{2} + 2}{{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{x^{4} + 5 \, x^{2} + 3}{\left (3 \, x^{2} + 2\right )}}{x^{10} + 10 \, x^{8} + 31 \, x^{6} + 30 \, x^{4} + 9 \, x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 x^{2} + 2}{x^{2} \left (x^{4} + 5 x^{2} + 3\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 \, x^{2} + 2}{{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]